/**
 *
 */
package com.whosly.rapid.data.resp.pojo.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * json响应基本对象
 *
 * @author yueny09 <deep_blue_yang@163.com>
 *
 * @DATE 2016年9月12日 下午10:03:21
 *
 */
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = { "serialVersionUID" })
public class JsonNormalResponse<T> extends BaseResponse {
	/**
	 *
	 */
	private static final long serialVersionUID = 3588003908500391606L;

	/**
	 * 请求返回数据
	 */
	@Getter
	@Setter
	@JsonProperty(value = "data")
	private T data;

	public JsonNormalResponse(String code, String message, T data) {
		super(code, message);
		this.data = data;
	}
}
